package com.lagou.service;


import com.lagou.domain.PromotionSpace;

import java.util.List;

public interface PromotionSpaceService {

    /*
    获取所有的广告位
    */
    public List<PromotionSpace> findAllPromotionSpace();

    /*
    添加广告位
    */
    public void savePromotionSpace(PromotionSpace promotionSpace);

    /**
     * 修改广告位
     * */
    public void updatePromotionSpace(PromotionSpace promotionSpace);


    /*回显广告名称*/
    public PromotionSpace findPromotionSpaceById(Integer id);
}
